import request from "@/utils/request";

// 登录
export const login = data => request.post('/sys/login',data)

// 获取用户资料
export const getUserInfo = () => request.post('/sys/profile')

// 获取用户详情
export const getUserDetailById = id => request.get(`/sys/user/${id}`)